package me.firstapp.common.module.shop;

import java.util.ArrayList;
import java.util.List;

import me.firstapp.common.module.base.JsonBase;
import me.firstapp.common.module.bbs.JsonMember;

public class JsonShoppingCart extends JsonBase {

	private static final long serialVersionUID = 1864095237882466986L;

	// 关联的用户
	private JsonMember member;

	// 商品总数量
	private Integer counts;

	// 商品总价
	private Double value;

	private List<JsonShoppingCartItem> items = new ArrayList<>();

	public JsonMember getMember() {
		return member;
	}

	public void setMember(JsonMember member) {
		this.member = member;
	}

	public Integer getCounts() {
		return counts;
	}

	public void setCounts(Integer counts) {
		this.counts = counts;
	}

	public Double getValue() {
		return value;
	}

	public void setValue(Double value) {
		this.value = value;
	}

	public List<JsonShoppingCartItem> getItems() {
		return items;
	}

	public void setItems(List<JsonShoppingCartItem> items) {
		this.items = items;
	}

}
